<?php
/**
 * @copyright	Copyright (C) 2008 Bideew. All rights reserved.
 * @license		GNU/GPL
* This file is part of Bideew.

* Bideew is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.

* Bideew is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.

* You should have received a copy of the GNU General Public License
* along with Bideew; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

	require_once('open.lnk.php');
	define('fMODULE',1); // Flag d'administration
	if (gMODULE){ //
		if (Module::IsModuleOK(gMODULE,$modules)) {
			include "Modules/".gMODULE."/index.php";
		}
		else {
			echo "<span class=\"red\">Veuillez choisir un module qui existe</span>\n";
		}
	}
	require_once('close.lnk.php');
?>